#pragma comment( linker, "/subsystem:windows /entry:WinMainCRTStartup" )

#include "MainLoop.h"
#include "EventLogger.h"

int WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR lpCmdLine,
				   int nCmdShow )
{
	LogSys logsys;
	MainConstant mainconstant;
	g_LogSys.init("AdTank.html");
	MainLoop	game;
	game.Initialize( hInst );
	return game.Run();
}

